package mobi.hami.huapin.dao;

import java.util.List;

import mobi.hami.huapin.daobase.CrudMapper;
import mobi.hami.huapin.model.PoiInfo;
import mobi.hami.huapin.model.PrintLog;
import mobi.hami.huapin.model.PrintLogExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface PrintLogMapper extends CrudMapper<PrintLog> {

    /**
     * 查询打印次数
     * @param hp_id
     * @return
     */
    @Select("select count(*) from print_log where hp_id= #{hp_id}")
    int queryPrintCount(long hp_id);

}